package com.py.net.client.businese;

import com.google.protobuf.MessageLite;
import com.py.net.proto.ChatProbuf.STCChatRet;
import com.py.net.proto.IBusineseHandle;

public class ClientChatRetHandle extends IBusineseHandle<STCChatRet> {

	@Override
	public MessageLite handle(STCChatRet msg) {
		//发送聊天消息返回逻辑
		if (msg.getStatus() != 0) {
			//登陆失败
			System.out.println(msg.getMsg());
		} else {
			System.out.println(msg.getMsg());
		}
		return null;
	}

}
